// -----------------------------------------------------------------------------
// Generate By Furion Tools v1.6.0                            
// -----------------------------------------------------------------------------

using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using System.Collections.Generic;

#nullable disable

namespace iemtm.WeChat.Core
{
    public partial class CommType : IEntity<MasterDbContextLocator>, IEntityTypeBuilder<CommType, MasterDbContextLocator>
    {

        public int CommTypeId { get; set; }
        public string TabName { get; set; }
        public string DicType { get; set; }
        public string DicValue { get; set; }
        public int Des { get; set; }
    
        public void Configure(EntityTypeBuilder<CommType> entityBuilder, DbContext dbContext, Type dbContextLocator)
        {
                entityBuilder.HasIndex(e => new { e.TabName, e.DicValue }, "GZWX_CommType");

                entityBuilder.Property(e => e.DicType).HasMaxLength(50);

                entityBuilder.Property(e => e.DicValue).HasMaxLength(50);

                entityBuilder.Property(e => e.TabName).HasMaxLength(50);
        }

    }
}

